#ifndef __SHM_H__
#define __SHM_H__
#include <sys/types.h>
#include <linux/mm.h>	/* for get_free_page put_page */
#include <linux/kernel.h>
#include <errno.h>
#include <linux/sched.h>

typedef struct shm_ds
{
    unsigned int key;  /*key值*/
    unsigned int size;  /*大小*/
    unsigned long page; /*页*/
}shm_ds;

#define shm_ds_size 64 
typedef unsigned int key_t;

#endif /*__SHM_H__*/